package com.keste.ojt1.view.task9.ssamanthula.bean;

import oracle.adf.controller.TaskFlowId;

public class NavigationBean {
    private String taskFlow1 = "/WEB-INF/com/keste/ojt1/view/task9/ssmanthula/flows/TreeTable.xml#TreeTable";
    private String taskFlow2 = "/WEB-INF/com/keste/ojt1/view/task9/ssmanthula/flows/empDept.xml#empDept";
    private String taskFlowId = taskFlow1;
  public NavigationBean() {
  }

  public TaskFlowId getDynamicTaskFlowId() {
      return TaskFlowId.parse(taskFlowId);
  }


  public String showMasterDetail() {
      taskFlowId = taskFlow2;
      return null;
  }

  public String showTreeTable() {
      taskFlowId = taskFlow1;
      return null;
  }
  }
